// ts 静态成员、方法拦截器

// let set = new Set<string>()

//js 继承

function Vechile(this: any, brandNo: any, price: any) {
    this.brandNo = brandNo;
    this.price = price;
}

Vechile.prototype.sale = function () {
    console.log(this + "销售")
}

function Bus(this: any, brandNo: any, price: any, seatNo: any) {
    Vechile.call(this, brandNo, price)
    this.seatNo = seatNo
}
function Car(this: any, brandNo: any, price: any, type: any) {
    Vechile.call(this, brandNo, price)
    this.type = type
}